<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
        <link rel="stylesheet" type="text/css" href="<?php echo base_url() ?>css/imageScroller.css">
        <link rel="stylesheet" type="text/css" href="<?php echo base_url() ?>css/estilo.css">
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>Acores Comunicacao </title>
    </head>
    <body>
        <div id="site">
            <?php echo getCabesario(); ?>
            <div id="site_conteudo">
                <table border="0">
                    <form action="<?php echo base_url(); ?>admin/cliente/submit" method="post">
                        <input type="hidden" name="acao" value="incluir">
                        <tr>
                            <td><label class="form_label">Nome</label></td>
                            <td><input type="text" size="30" name="nome" required></td>
                        </tr>
                        <tr>
                            <td><label class="form_label">CPF</label></td>
                            <td><input type="text" size="10" name="cpf" required></td>
                        </tr>
                        <tr>
                            <td><label class="form_label">RG</label></td>
                            <td><input type="text" size="10" name="rg" required></td>
                        </tr>
                        <tr>
                            <td><label class="form_label" >Estado</label></td>
                            <td><select name="cidade" required>
                                    <?php
                                    foreach ($estados as $estado) {
                                        echo '<option value="' . $estado['est_codigo'] . '">' . $estado['est_descricao'] . '</option>';
                                    }
                                    ?></td>
                        </tr>
                        <tr>
                            <td><label class="form_label">Cidade</label></td>
                            <td><select name="cidade" required>
                                    <?php
                                    foreach ($cidades as $value) {
                                        echo '<option value="' . $value['cid_codigo'] . '">' . $value['cid_descricao'] . '</option>';
                                    }
                                    ?></select></td>
                        </tr>
                        <tr>
                            <td><label class="form_label">Endereço</label></td>
                            <td><input type="text" size="20" name="endereco" required></td>
                        </tr>
                        <tr>
                            <td><label class="form_label">Numero</label></td>
                            <td><input type="text" size="5" name="numero" required></td>
                        </tr>
                        <tr>
                            <td><label class="form_label">Login</label></td>
                            <td><input type="text" size="5" name="login" required></td>
                        </tr>
                        <tr>
                            <td><label class="form_label">Senha</label></td>
                            <td><input type="password" size="5" name="senha" required></td>
                        </tr>
                        <tr>
                            <td><input type="submit" value="Gravar"></td>
                            <td><input type="reset" value="Limpar"></td>
                        </tr>
                    </form>
                </table>
            </div>
            <?php echo getRodape(); ?>
        </div>
    </body>
</html>